package com.example.entity;

import com.example.entity.enums.Type;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GreenHouse {
    Integer id;
    String code;
    String name;
    Integer createdBy;
    Integer updatedBy;
    Date createdAt;
    Date updatedAt;
    Integer isDeleted;
    //不存在数据库的字段
    Type type;
    Double allAverage;
    String location;
}
